package com.hrg.gys.clfr.myapplication;

import android.graphics.Bitmap;

public class JniData {
    // Used to load the 'native-lib' library on application startup.
    static {
        System.loadLibrary("native-lib");
    }

    public static native String stringFromJNI(String str);

    public static native int intFromJni(int string);

    public static native String stringArray(String[] strings);

    public static native void embedClass(Animal animal);

    public static native void callMethod(Animal animal);

    public static native Dog getDog(String string);

    public static native Dog getDog2(String string, int t);

    public static native void referenceDemo();

    public static native void nativeException();

    public static void doException() {
        int t = 0 / 0;
    }


    public static native void syncThread1();

    public static native void syncThread2();

    public static native Bitmap doBitmap(Bitmap bitmap);
}
